VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Utils Namespace / GraphicsUtils Class / RasterizeGraphicsPath Methods / RasterizeGraphicsPath(IGraphicsPath,IRegion,Int32,Int32,Boolean,PixelFormat,Byte[],Rectangle) Method
Syntax Requirements SeeAlso
In This Topic
RasterizeGraphicsPath(IGraphicsPath,IRegion,Int32,Int32,Boolean,PixelFormat,Byte[],Rectangle) Method (GraphicsUtils)
In This Topic
Rasterizes the specified graphics path.
Syntax
'Declaration

Public Overloads Shared Function RasterizeGraphicsPath( _
ByVal path
The graphics path to rasterize.
As Vintasoft.Imaging.Drawing.IGraphicsPath, _
ByVal clipRegion
A clip region.
As Vintasoft.Imaging.Drawing.IRegion, _
ByVal deviceWidth
A device width.
As System.Int32, _
ByVal deviceHeight
A device height.
As System.Int32, _
ByVal useAntiAlias
A value indicating whether anti-aliasing must be used.
As Boolean, _
ByVal imageDataPixelFormat
Pixel format of image data.
As Vintasoft.Imaging.PixelFormat, _
ByRef imageData
The rasterized image data.
() As Byte, _
ByRef imageDataRect
The rectangle that contains rasterized image data.
As System.Drawing.Rectangle _
) As Boolean

Parameters

path
The graphics path to rasterize.
clipRegion
A clip region.
deviceWidth
A device width.
deviceHeight
A device height.
useAntiAlias
A value indicating whether anti-aliasing must be used.
imageDataPixelFormat
Pixel format of image data.
imageData
The rasterized image data.
imageDataRect
The rectangle that contains rasterized image data.

Return Value

True if IGraphicsPath is rasterized;
false if intersection of clip region, device size and path bound box is empty.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also